package xin.petstore.framework.web.img;

/**
 * =============================
 * Author:
 * Function:
 * Version: 1.0
 * Date: 2016/7/7 0007
 * =============================
 */
public interface Cm {
    public  static final String REDIS_MAP = "common_image_basemgrepository_taskinti_map";
    public static String COM_REDIS_SET = "common_image_random_code_set_key";
    public static final String REDIS_LIST = "common_basemgrepository_taskinti_list";
    public static final String FILE_NAME = "fileName";
    public static final String CATEGORY_NAME = "category";
    public static final String FILE_DB_NAME = "imgcode";
    public static final  String IMAGE_TYPE = "JPEG";
    public static final  Integer NUMBER = 4;
    public static final Integer COUNT_LIMIT = 4;// 限制访问次数3次
    public static final Integer TIME_LIMIT = 3;// 限制访问秒数3s，即3秒内超过3次的访问将会被拉近黑名单5秒
    public static final Integer FORBIDEN_TIME_LIMIT = 7;// 7s后才能刷新
    public static final String BLACK_LIST = "black_list_image_code";
    public static final String FLAG = "flag_image_code_version2";
}
